<%@page import="cn.jussi.mydbutils.MyDBUtils"%>
<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<body>
	
	<form action="insertUser2.jsp" method="get" style="margin:20px auto; width:500px; border:1px #ccc solid; text-align: center; padding: 20px">
		用户名：<input type="text" name="username"><br><br>
		密     码：<input type="text" name="password"><br><br>
		电     话：<input type="text" name="phoneNum"><br><br>
		地     址：<input type="text" name="address"><br><br>
		<input type="submit">
	</form>
	
	<form action="getOneUser.jsp" method="post" style="margin:20px auto; width:500px; border:1px #ccc solid; text-align: center; padding: 20px">
		ID：<input type="text" name="id"><br><br>
		<input type="submit">
	</form>
	
	<form action="login.jsp" method="get" style="margin:20px auto; width:500px; border:1px #ccc solid; text-align: center; padding: 20px">
		<p>Statement<br>	存在 SQL 注入危险 	用户名: a' or password=		密码: or '1'='1</p><br><br>
		用户名：<input type="text" name="username"><br><br>
		密     码：<input type="text" name="password"><br><br>
		<input type="submit">
	</form>
	
	<form action="login2.jsp" method="get" style="margin:20px auto; width:500px; border:1px #ccc solid; text-align: center; padding: 20px">
		<p>PreparedStatement</p><br><br>
		用户名：<input type="text" name="username"><br><br>
		密     码：<input type="text" name="password"><br><br>
		<input type="submit">
	</form>
	
</body>
</html>